package Logic;

import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;

/**
 * Created by qq65827 on 2015/1/27.
 */
public class test {

    public static void main(String[] args) {
        List list = new ArrayList();
        list.add(0, "1");
        list.add(1, "2");
        Iterator<String> it = list.iterator();
        while (it.hasNext()) {
            String s =  it.next();
            System.out.println(s);
        }
    }
}
